package com.baizhi.hospital.controller;

import com.baizhi.hospital.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class LogController {
    @Autowired
    private LogService logService;
    @RequestMapping("selectLogByPage")
    public Map selectLogByPage(int page,int limit){
        return logService.selectLogByPage(page, limit);
    }
}
